package com.xinhe.web.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel(description = "商品规格保存对象")
@Data
public class GoodsPriceModel {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("商品id")
    private Long goodsId;
    @ApiModelProperty("规格名称")
    private String name;
    @ApiModelProperty("单价")
    private BigDecimal price;
    @ApiModelProperty("原价")
    private BigDecimal originalPrice;
    @ApiModelProperty("秒杀价")
    private BigDecimal seckillPrice;
    @ApiModelProperty("团购价格")
    private BigDecimal groupPurchasePrice;
    @ApiModelProperty("单位")
    private String unit;
    @ApiModelProperty("备注")
    private String remark;
}
